<extend name="CommonAdmin:base" />

<block name="script">
<script>

$(function() {
   $("input:button").button();
});
function back() {
    var url = "__URL__/index";
    window.location = url;
}
</script>
</block>

<block name="main-in">
<div>
<form action="__URL__/save" method="post">
<div>
<input type="hidden" name="id" value="{$vo.id}" />
</div>
<table>
<tr>
<td class="required">公司代码</td><td>
<input type="text" name="company_code" value="{$vo.company_code}" />
</td>
</tr><tr>
<td class="required">公司名字</td><td>
<input type="text" name="company_name" value="{$vo.company_name}" />
</td>
</tr><tr>
<td>公司地址</td><td>
<input type="text" name="company_address" value="{$vo.company_address}" />
</td>
</tr><tr>
<td>公司电话</td><td>
<input type="text" name="company_tel" value="{$vo.company_tel}" />
</td>
</tr>
<tr><td colspan=2 align="right">
<button type="submit">提交</button>
<button type="button" onclick="back()">返回</button>
</td></tr>
</table>
</form>
</div>
</block>